<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.w3.org/1999/xhtml">
<head>
    <head th:include="header :: header"></head>
    <title></title>
    <style>
        .form-horizontal{
            width: 85%;
        }
        .col-sm-4,.col-sm-3{
            padding-left: unset;
        }
        .col-sm-1{
            min-width: 150px;
        }
        .btn-label{
            padding: 3px 3px;
            font-size: 12px;
        }
    </style>
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="!showJobInfoAdd">
        <div class="grid-btn">
            <div class="form-group col-sm-2">
                <select id="queryJobGroup" class="form-control" v-model="q.jobGroup" @change="query">
                    <option value="-1">--执行器--</option>
                    <option th:each="group:${JobGroupList}" th:value="${group.id}" th:text="${group.title}"></option>
                </select>
            </div>
            <div class="form-group col-sm-2">
                <select class="form-control" v-model="q.triggerStatus" @change="query">
                    <option value="-1">--任务状态--</option>
                    <option value="0">停止</option>
                    <option value="1">启动</option>
                </select>
            </div>
            <a class="btn btn-default" @click="query">查询</a>
            <a shiro:hasPermission="sys:user:save" class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>

            <a shiro.hasPermission="sys:user:update" class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>

            <a shiro.hasPermission="sys:user:delete" class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div th:replace="modules/xxljob/jobinfoAdd.html">

    </div>
</div>

<script th:src="@{/statics/js/modules/xxljob/jobinfo.js}"></script>
</body>
</html>